package com.wenjiang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wenjiang.common.dto.SecKillGoodParams;
import com.wenjiang.common.lang.Result;
import com.wenjiang.entity.MallSecKillGood;

public interface MallSecKillGoodService extends IService<MallSecKillGood> {


    //获取特惠商品的列表
    public  Result getSecKillGood();



    //开启一个秒杀
    public Result addSecKill(MallSecKillGood mallSecKillGood);


    //抢购一个商品
    public  Result SecKillGood(SecKillGoodParams secKillGoodParams);


    //暂停秒杀

    // 删除秒杀





}
